package com.jiutian.hotel.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "userpwd")
public class UserPwdData {
    private String userid;
    private String pwd;
    private String usertype;
    private String hotelid;
    private Date createTime;

    public UserPwdData() {
    }

    public UserPwdData(String userid, String pwd, String usertype,
            String hotelid, Date createTime) {
        this.userid = userid;
        this.pwd = pwd;
        this.usertype = usertype;
        this.hotelid = hotelid;
        this.createTime = createTime;

    }

    @Id
    @Column(name = "userid")
    public String getUserid() {
        return this.userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Column(name = "pwd")
    public String getPwd() {
        return this.pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Column(name = "usertype")
    public String getUsertype() {
        return this.usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    @Column(name = "hotelid")
    public String getHotelid() {
        return this.hotelid;
    }

    public void setHotelid(String hotelid) {
        this.hotelid = hotelid;
    }

    @Column(name = "createtime")
    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
